package com.maycur.ctrip.enumeration;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Created by JoeyXin on 6/30/16.
 */
@JsonFormat(shape= JsonFormat.Shape.OBJECT)
public enum TrainOrderStatus{
    N("未提交"),
    WP("待支付"),
    PP("支付处理中"),
    PF("支付失败"),
    WA("待授权"),
    AR("授权拒绝"),
    WT("待出票"),
    TP("购票中"),
    TD("已购票"),
    TF("出票失败"),
    C("已取消");

    private final String description;

    TrainOrderStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

}
